"""
数据定义的类
"""
class Record:
    def __init__(self,date,id,money,province):
        self.date = date         # 订单日期
        self.id = id             # 订单ID
        self.money = money       # 订单金额
        self.province = province # 销售省份

    def __str__(self):
        return f"{self.date},{self.id},{self.money},{self.province}"